from django.urls import path,include
from rest_framework.routers import DefaultRouter
from rest_framework_simplejwt.views import TokenObtainPairView

from user.views import ImageVerifyView, UserViewSet, MyTokenObtainPairView

urlpatterns = [
    path('verification/<str:func>/<uuid:uuid>/', ImageVerifyView.as_view()),
    path('login/', MyTokenObtainPairView.as_view()),
]
router = DefaultRouter()
router.register('users', UserViewSet)
urlpatterns += router.urls